<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<OrderPortal.Models.LogOnModel>" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>登录</title>
    <link rel="stylesheet" href="../../Content/css/global.css" />
    <link rel="stylesheet" href="../../Content/css/base.css" />
    <link rel="stylesheet" href="../../Content/css/user/login.css" />
    <script type="text/javascript" src="../../Scripts/jquery-1.6.1.min.js"></script>
    <script type="text/javascript" src="../../Scripts/user/login.js"></script>
    </head>
 
 <body>
<div class="header"><h2><span>Runda</span>&nbsp;客户订单管理系统</h2></div>
<div class="content">
    <% using (Html.BeginForm()) { %>         
        <table cellpadding="0" cellspacing="0">
			<colgroup valign="middle">
						<col width="65px">
						<col width="345px">
			</colgroup>
			<tbody>
				<tr>
					<td class="txtRt"><%= Html.LabelFor(m => m.UserName) %></td>
					<td >
					   <%= Html.TextBoxFor(m => m.UserName) %>               
					</td>
				</tr>
				<tr>
					<td class="txtRt"><%= Html.LabelFor(m => m.Password) %></td>
					<td>
						       <%= Html.PasswordFor(m => m.Password) %>                   
					</td>
				</tr>	
				<tr>
					<td></td>
		
					<td class="errorTxt clearfix">
						<p class="error">
						    <label id="errVal" style="display:none"></label> &nbsp;&nbsp; 							 
						</p>
					</td>
				</tr>			 				 
				<tr>
					<td></td>
					<td><input class="lgnSubmit hand" type="submit" value="" onclick="return chkSubmit();" /></td>
				</tr>
			</tbody>
		</table>
		<div id="serverError" style="display:none">
		    <%= Html.ValidationSummary() %>
		</div>
    <% } %>         
    </div>
    <script type="text/javascript">
        $(document).ready(function() {
            renderError();
        });	
</script>
</body>
</html>